package com.example.dormlist.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@NoArgsConstructor
@Entity
@Table(name = "check_in")
public class CheckIn {
    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "uid")
    private Long uid;

    @Column(name = "room_id")
    private Long roomId;

    @Column(name = "check_in_time")
    private String checkInTime;

    @Column(name = "is_valid")
    private boolean isValid;
}
